package com.suibibk.springCloud.order.openfeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name="stock-service",path="/stock" ,fallback=StockFeignServiceFallback.class)
public interface StockService {
    @RequestMapping("/reduce")
    public String reduce();
}
